package com.mostromas.ess.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 拼多多商品类别信息表
 */
@ApiModel(value = "PDDProductCat对象",description = "拼多多商品类别信息表")
@TableName("pdd_product_cat") // pdd_product_cat
@Data
public class PDDProductCat implements Serializable {
    private static final long serialVersionUID = 6583910471301667171L;

    @TableId
    @ApiModelProperty(value = "类目ID")
    private Long catId;

    @ApiModelProperty(value = "类目名称")
    private String catName;

    @ApiModelProperty(value = "类目层级")
    private int level;

    @ApiModelProperty(value = "所属父类目ID")
    private Long parentCatId;

    @ApiModelProperty(value = "类目路径")
    private String parentPath;
}
